﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace PC_Touch.DataOP
{
    public class ConsoleOutputService
    {
        public event Func<string, Task> OnConsoleOutput;
        public void Write(string message)
        {
            OnConsoleOutput?.Invoke($"[{DateTime.Now.ToString("G")}] Message： {message}\r\n");
        }
    }
}
